﻿@model PuroGame.ViewData.Mercadao.UsuarioViewData
@{
    ViewBag.Title = "Cadastro";
    Layout = "~/Views/Shared/_Layout.cshtml";
}
<script src="~/Scripts/jquery.unobtrusive-ajax.min.js"></script>
<script src="~/Scripts/jquery.validate.min.js"></script>
<script src="~/Scripts/jquery.validate.unobtrusive.min.js"></script>
@using(Html.BeginForm("Cadastrar", "Usuario", FormMethod.Post))
{
<ul style="display: none">
    <li>Nome: @Html.TextBoxFor(usuario => usuario.Nome) @Html.ValidationMessageFor(usuario => usuario.Nome)</li>
    <li>E-mail: @Html.TextBoxFor(usuario => usuario.Email) @Html.ValidationMessageFor(usuario => usuario.Email)</li>
    <li>Senha: @Html.PasswordFor(usuario => usuario.Senha) @Html.ValidationMessageFor(usuario => usuario.Senha)</li>
    <li>Repetir senha: @Html.PasswordFor(usuario => usuario.SenhaRepetir) @Html.ValidationMessageFor(usuario => usuario.SenhaRepetir)</li>
    <li><input type="submit" value="Enviar" /></li>
</ul>
    
<link href="~/Content/registrar.css" rel="stylesheet" />

    <div class="content-in cadastre">
        <h2>Cadastre-se no Mercadão PuroGame</h2>
        <div class="formulario">
            <form>
                <label>
                    <span>Nome de usuário</span><input class="ic-20 ic-alone user" type="text" />
                </label>
                <label>
                    <span>E-mail</span><input class="ic-20 ic-alone message" type="text" />
                </label>
                 <label>
                    <span>Senha</span><input class="ic-20 ic-alone lock" type="password" />
                </label>
                <label>
                    <span>Confirmar Senha</span><input class="ic-20 ic-alone lock" type="password" />
                </label>
                <div class="btn-holder">
                    <button class="btn-salvar">Cadastrar</button>
                </div>
            </form>
        </div>
       <div class="text-cadastro">
           Corra e crie sua conta, aproveite todas as funcionalidades do site e participe de promoções e anuncios para cadastrados!! 
       </div>

     </div>
  
    
}
